package cn.edu.sdjzu.xg.eagle.dao;

import cn.edu.sdjzu.xg.eagle.entity.User;

import java.sql.Connection;
import java.sql.SQLException;


public interface UserDaoInterface {
    boolean add(User user, Connection connection) throws SQLException;
    boolean delete(String usename, Connection connection) throws SQLException;
    void login(User user,Connection connection)throws SQLException;
}
